/* eslint-disable react/no-danger */
import React from 'react';
import xss from 'xss';

import styles from './style.less';

const FlowDescription = ({ description }) => (
    <div className={styles.wrap}>
        <b>流程说明</b>
        <div className={styles.scroll} dangerouslySetInnerHTML={{ __html: xss(description) }} />
    </div>
);

export default FlowDescription;
